package cn.ronghuanet.car.mapper;

import cn.ronghuanet.car.domain.Car;
import cn.ronghuanet.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiong
 * @since 2023-07-03
 */
public interface CarMapper extends BaseMapper<Car> {

    List<Car> loadByIds(List<Long> ids);

    void updateState(@Param(("ids")) List<Long> ids,@Param("state") Integer state);

}
